]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Clamp alignments to expected range
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jan 2024 16:29:51 +0000 (17:29 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jan 2024 22:40:12 +0000 (22:40 +0000)
commitd0b23510367285753fb6cba9d47b452c995d0dae
tree062c29e6e879fe190aa72468f7eae87df85d5347
parent4e70315fbb7a4ee88bd5ce1d789d6735da450975
boxpointer: Clamp alignments to expected range

The values are expected to be between 0 (start) and 1 (end),
enforce that with appropriate clamp() calls.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3150>
js/ui/boxpointer.js